using Avalonia.Controls;
using Avalonia.WebView;
using System;

namespace Ava.Demo.Views
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
        private void WebView_OnNavigationCompleted(object? sender, EventArgs e)
        {
            var webView = (WebView)sender!;
            Console.WriteLine($"WebView_OnNavigationCompleted: {webView.Url}");
        }

    }
}